// css初始化
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
li {
    list-style: none;
}
body {
    
    line-height: 1.15;
}
header {
    position: relative;
    height: 1.25rem;
    
    h1 {
        font-size: 0.475rem;
        color: black;
        text-align: center;
        line-height: 1rem;
    }
    .showTime {
        position: absolute;
        right: 0.375rem;
        top: 0;
        line-height: 0.9375rem;
        color: black;
        font-size: .25rem;
    }
}

//页面主体盒子
.mainbox {
    display: flex;
    min-width: 1024px;
    max-width: 1920px;
    margin: 0 auto;
    padding: .125rem .125rem 0;
    .column {
        flex: 5;
    }
    .column:nth-child(1) {
        flex: 14;
    }
    .panel {
        position: relative;
        height: 3.875rem;
        border: 1px solid rgba(25, 186, 139, 0.17);
        margin-bottom: 0.1875rem;
        background: url(../images/line\(1\).png) rgba(255, 255, 255, 0.03); 
        &::before {
            position: absolute;
            background: rgba(9, 192, 79, 0.7);
            top: 4px;
            left: 0;
            width: 60px;
            height: 15px;
            border-left:2px solid rgba(9, 192, 79, 0.7);
            border-top: 2px solid rgba(9, 192, 79, 0.7);
            border-bottom: 2px solid rgba(9, 192, 79, 0.7);
            border-right: 2px solid rgba(9, 192, 79, 0.7);
            border-top-right-radius: 40%;
            border-bottom-right-radius: 40%;
            content: "污染等级";
        }
        h2 {
            height: .6rem;
            color: #fff;
            line-height: .6rem;
            text-align: center;
            font-size: 20px;
            font-weight: 400;
        }
        .chart {
            height: 3rem;
        
        }
    }
}

//页面右部分盒子
.panelPie {
    
    height: 3.875rem;
    border: 1px solid rgba(25, 186, 139, 0.17);
    margin-bottom: 0.1875rem;
    ul {
        display: flex;
        li {
            flex: 1;
        }
    }
    h2 {
        height: .6rem;
        color: #fff;
        line-height: .6rem;
        text-align: center;
        font-size: 20px;
        font-weight: 400;
    }
    .chart {
        height: 3rem;
        
    }
}